package mapper;

import pojo.admin;

import java.sql.SQLException;

public interface adminMapper {
    public admin getAdmin(String username,String password) throws SQLException;
    public admin getAdmin(String username) throws SQLException;

    void updatePassword(String username, String newCode) throws SQLException;
}
